package pattern.behavior.state.impl;

import pattern.behavior.state.OrderState;

public class PendingPayment implements OrderState {
    @Override
    public void pay() {
        System.out.println("订单正在支付");
    }

    @Override
    public void cancel() {
        System.out.println("订单已经被取消");
    }

    @Override
    public void complete() {
        System.out.println("不能完成一个未支付的订单");
    }
}
